package com.cats.template.sys.services;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cats.template.sys.pojo.model.PermissionModel;

import java.util.Set;

/**
 * @author duxiaobo
 * @date 2021/9/102:40 下午
 */
public interface PermissionService extends IService<PermissionModel> {

    Set<PermissionModel> getPermissionsByRoleId(Long roleId);

    Set<PermissionModel> getAll();


}
